import type { CommonNodeType } from '@/components/workflow/types'

export type HttpRequestNodeType = CommonNodeType & {
  method: string
  url: string
  headers: Array<{ key: string; value: string }>
  params: Array<{ key: string; value: string }>
  body: {
    type: 'none' | 'form-data' | 'x-www-form-urlencoded' | 'raw'
    content: any
  }
  timeout: number
  inputList: any[]
  outputList: any[]
}

